<!-- <script setup lang="ts">
import GlobalComponent from './GlobalComponent.vue';
import LocalComponent from './LocalComponent.vue';
</script> -->

<template>
  <h5>
    父组件
  </h5>
  <div class="box">
      <GlobalComponent/>
      <LocalComponent/>
  </div>
</template>

<style scoped>
h5 {
  border: 1px dotted black;
}
.box{
  display: flex;
}
</style>

<script setup>
import LocalComponent from "./LocalComponent.vue";
</script>